package com.mpyy.service.inventory;

import com.mpyy.dao.inventory.InventoryOverdueMapperDaoInter;
import com.mpyy.pojo.InventoryDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description InventoryOverdueServiceImpl
 * @Author wx
 * @Date 2022-02-28 17:22
 * @Version 1.0
 */
@Service(value=("inventoryOverdueServiceImpl"))
public class InventoryOverdueServiceImpl implements InventoryOverdueServiceInter {
    @Autowired
    @Qualifier(value = ("inventoryOverdueMapperDao"))
    private InventoryOverdueMapperDaoInter inventoryOverdueMapperDaoInter;
//    @Override
//    public List<InventoryDesc> showoOberdue(int inveDescProState) {
//        List<InventoryDesc> inventoryDescsObj=inventoryOverdueMapperDaoInter.showoOberdue(inveDescProState);
//        return inventoryDescsObj;
//    }
    @Override
    public List <InventoryDesc> selectNumber(InventoryDesc inventoryDesc) {
        List <InventoryDesc> inventoryDescs = inventoryOverdueMapperDaoInter.selectNumber(inventoryDesc);
        return inventoryDescs;
    }
}
